package au.com.twosquared.animalfarm.entities.animals.model;

/**
 * Defines all the possible moods of an Animal
 * 
 * @author Sam Luc <sam.luc@twosquared.com.au>
 * @version 1.0 Last Modified 2011-11-15
 * @since 2011-11-15
 * 
 */
public enum Mood {
	HAPPY, ANGRY, SAD, BORED, CONFUSED, SICK, HUNGRY, DIRTY, LOVED;
	/**
	 * Returns the Mood as a String when given a particular Mood
	 * 
	 * @param type
	 *            the Mood to be changed into String
	 * @return The output of the String
	 */
	public String getMood(Mood mood) {
		switch (mood) {
		case HAPPY:
			return "Happy";
		case ANGRY:
			return "Angry";
		case SAD:
			return "Sad";
		case BORED:
			return "Bored";
		case CONFUSED:
			return "Confused";
		case SICK:
			return "Sick";
		case HUNGRY:
			return "Hungry";
		case DIRTY:
			return "Dirty";
		case LOVED:
			return "Loved";
		default:
			return null;
		}
	}
}
